API Documentation
RasterStateManager.h
1 // RasterStateManager.h
3 //
5 
6 namespace nkGraphics
7 {
13  class RasterStateManager : public nkCommon::SingletonClass<RasterStateManager>
14  {
15  public :
16 
21 
44  RasterState* getByIndex (unsigned int index) ;
51  void rename (const nkMemory::StringView& oldName, const nkMemory::StringView& newName) ;
57  void erase (const nkMemory::StringView& name) ;
58 
63  } ;
64 }
nkGraphics::RasterStateManager::createOrRetrieve
RasterState * createOrRetrieve(const nkMemory::StringView &name)
nkGraphics::RasterStateManager::~RasterStateManager
~RasterStateManager()
nkGraphics::RasterStateManager::get
RasterState * get(const nkMemory::StringView &name)
nkGraphics::RasterStateManager::erase
void erase(const nkMemory::StringView &name)
nkGraphics::RasterStateManager
Manages the raster states available in the component.
Definition: RasterStateManager.h:14
nkGraphics::RasterStateManager::getByIndex
RasterState * getByIndex(unsigned int index)
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkGraphics::RasterStateManager::rename
void rename(const nkMemory::StringView &oldName, const nkMemory::StringView &newName)
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::RasterStateManager::getDefaultState
RasterState * getDefaultState() const
nkGraphics::RasterState
Holds information about a raster state.
Definition: RasterState.h:14